package com.yanqu.road.entity.log;


import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_winery_make", desc = "酒坊酿酒日志", autoSave = true, uploadCk = true)
public class LogWineryMake extends ServerBaseLog {
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;


    @FieldTypeAnnotation(desc = "消耗")
    private String cost;


    @FieldTypeAnnotation(desc = "酿造数量")
    private int makeNum;

    @FieldTypeAnnotation(desc = "增加酒香值和酒艺值")
    private String reward1;

    @FieldTypeAnnotation(desc = "获得酒品")
    private String reward2;

    public LogWineryMake(long userId, String cost, int makeNum, String reward1, String reward2) {
        this.userId = userId;
        this.cost = cost;
        this.makeNum = makeNum;
        this.reward1 = reward1;
        this.reward2 = reward2;
    }

    public long getUserId() {
        return userId;
    }

}
